using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 站点支付方式表
    /// </summary>
    public class dt_site_payment
    {
        /// <summary>
        /// 站点支付方式表
        /// </summary>
        public dt_site_payment()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 所属站点
        /// </summary>
        public System.Int32? site_id { get; set; }

        /// <summary>
        /// 支付方式ID
        /// </summary>
        public System.Int32? payment_id { get; set; }

        /// <summary>
        /// 自定义标题
        /// </summary>
        public System.String title { get; set; }

        /// <summary>
        /// 通讯密钥1
        /// </summary>
        public System.String key1 { get; set; }

        /// <summary>
        /// 通讯密钥2
        /// </summary>
        public System.String key2 { get; set; }

        /// <summary>
        /// 通讯密钥3
        /// </summary>
        public System.String key3 { get; set; }

        /// <summary>
        /// 通讯密钥4
        /// </summary>
        public System.String key4 { get; set; }

        /// <summary>
        /// 排序数字
        /// </summary>
        public System.Int32? sort_id { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String ptitle { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String img_url { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String remark { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String type { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.Int32? poundage_type { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.Decimal? poundage_amount { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String redirect_url { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String return_url { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.String notify_url { get; set; }


        [SugarColumn(IsIgnore = true)]
        public System.Int32? is_lock { get; set; }
    }
}